/**
 * TemplateController.java
 */
package org.yate.oa.controller;

import java.io.IOException;
import java.util.regex.Pattern;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Yate
 * @date Nov 18, 2013
 * @description 用统一ＵＲＩ的方式来解决ＲＥＳＴＦＵＬ /module/httpmethod/paramter/../paramter
 * @version 1.0
 */
public abstract class RestfulController extends BaseServletController {
	
	private final Pattern p = Pattern.compile("[/(w+)]{2,}");

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * javax.servlet.http.HttpServlet#service(javax.servlet.http.HttpServletRequest
	 * , javax.servlet.http.HttpServletResponse)
	 */
	@Override
	protected void service(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		super.service(req, resp);
		final String uri = req.getServletPath();
		
	}

}
